<template>
	<view class="content">
		<view class="content-body">
			<view class="title">
				订单生成成功
			</view>
			<view>产品名称：{{name}}</view>
			<view>订单号：{{num}}</view>
			<view class="tips">
				我们将在1个工作日内与您联系，请耐心等待，保持电话畅通，祝您心情愉快
			</view>

		</view>
	</view>
</template>

<script>
	export default {
		data(){
			return{
				name:'',
				num:''
			}
		},
		onLoad(options) {
			const { name ,num } = options;
			this.name = name;
			this.num = num;
		}
	}
</script>

<style scoped lang="scss">
	.content {
		padding: 24px;

		.content-body {
			background-color: #fff;
			border-radius: 12px;
			padding: 32px;
			box-shadow: 8px 8px 12px rgba(0, 0, 0, .1);
			font-size: 12px;
			line-height: 24px;
			color: #646464;
			
			.title{
				font-size: 16px;
				font-weight: 700;
				text-align: center;
			}
			
			.tips{
				color: rgb(0, 122, 255);
			}
		}
	}
</style>